import request from '@/http/request'

export const getComments = (params) => {
    return request({
        method: 'get',
        url:'/comments',
        params
    })
}

export const submitComment = (params) => {
    return request({
        method: 'post',
        url: '/comments',
        params
    })
}